import sys
from gen import generate_random_list
from alg import find_longest_increasing_subsequence

sys.stdout.reconfigure(encoding='utf-8')

if __name__ == "__main__":
    data = generate_random_list()
    print("原始数据：", data)
    length = find_longest_increasing_subsequence(data)
    print("最长严格递增子序列的长度为：", length)
